package com.wust.entity;

import java.util.Date;

public class Car {
    private Integer id;

    private String name;

    private Integer deviceFirstId;

    private Integer deviceSecondId;

    private Integer deviceThirdId;

    private String matchNumber;

    private String matchCode;

    private Date createTime;

    private Date updateTime;

    private Integer deviceFourthId;

    public Car(Integer id, String name, Integer deviceFirstId, Integer deviceSecondId, Integer deviceThirdId, String matchNumber, String matchCode, Date createTime, Date updateTime, Integer deviceFourthId) {
        this.id = id;
        this.name = name;
        this.deviceFirstId = deviceFirstId;
        this.deviceSecondId = deviceSecondId;
        this.deviceThirdId = deviceThirdId;
        this.matchNumber = matchNumber;
        this.matchCode = matchCode;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.deviceFourthId = deviceFourthId;
    }

    public Car() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getDeviceFirstId() {
        return deviceFirstId;
    }

    public void setDeviceFirstId(Integer deviceFirstId) {
        this.deviceFirstId = deviceFirstId;
    }

    public Integer getDeviceSecondId() {
        return deviceSecondId;
    }

    public void setDeviceSecondId(Integer deviceSecondId) {
        this.deviceSecondId = deviceSecondId;
    }

    public Integer getDeviceThirdId() {
        return deviceThirdId;
    }

    public void setDeviceThirdId(Integer deviceThirdId) {
        this.deviceThirdId = deviceThirdId;
    }

    public String getMatchNumber() {
        return matchNumber;
    }

    public void setMatchNumber(String matchNumber) {
        this.matchNumber = matchNumber == null ? null : matchNumber.trim();
    }

    public String getMatchCode() {
        return matchCode;
    }

    public void setMatchCode(String matchCode) {
        this.matchCode = matchCode == null ? null : matchCode.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeviceFourthId() {
        return deviceFourthId;
    }

    public void setDeviceFourthId(Integer deviceFourthId) {
        this.deviceFourthId = deviceFourthId;
    }
}